@import "reset", "mixin", "variable", "commcon";



.header-wrapper{
  position: relative;
  width: 100%;
  height: 170px;
  .header-content{
    position: absolute;
    top:0;
    left:0;
    width: 100%;
    height: 56px;
    background-color: rgba(255,255,255,0.4);
    z-index:5;
    .middle{
      display: flex;
      flex-direction: row;
      justify-content: space-between;
      margin: 0 auto;
      width: 1160px;
      height: 100%;
      line-height: 56px;
      font-size: 13px;
      color: #222;
      .info{
        .item{
          display: inline-block;
          cursor: pointer;
          padding: 0 15px;
          &:hover{
            background-color: rgba(255,255,255,0.4);
          }
          .icon{
            margin-right: 4px;
            color: #20A0FF;
          }
        }
      }
      .user{
        .item{
          display: inline-block;
          cursor: pointer;
          padding: 0 15px;
          &:hover{
            background-color: rgba(255,255,255,0.4);
          }
          .icon{
            margin-right: 4px;
            color: #20A0FF;
          }
        }
      }
    }
  }
  .header-bg{
    width:100%;
    height: 170px;
    overflow: hidden;
    .bg-img{
      width:100%;
      height: 170px;
      min-width: 1160px;
    }
  }
}
//nav
.tab{
  width: 1160px;
  height: 50px;
  margin: 0 auto;
  font-size: 12px;
  .tab-item{
    display: inline-block;
    padding-left: 0;
    padding-right: 20px;
    padding-top: 10px;
    text-align: center;
    &:hover{
      a{
        color: #1D8CE0;
      }
    }
    &:last-child{
      padding-right: 0;
    }
    a{
      line-height: 25px;
      color: #222;
    }
    .num{
      display: block;
      font-size: 12px;
      line-height: 18px;
      background: rgb(255, 175, 201);
      border-radius: 4px;
      color: #fff;
    }
    .fa-home{
      display: block;
      line-height: 18px;
      color: rgb(255, 175, 201);

    }
  }
}


.videoDetail{
  position: absolute;
  top: 235px;
  left: 0;
  z-index:50;
  width: 100%;
  height: 100%;
  background: #fff;
  transition: all 0.5s;
  &.video-detail-enter-active,&.video-detail-leave{
    transform: translate3d(0,0,0);
    opacity: 1;
  }
  &.video-detail-enter,&.video-detail-leave-active{
    transform: translate3d(100%,0,0);
    opacity: 0;
  }

  .detail-info{
    padding-top: 10px;
    @include border-top-1px(rgba(7,17,27,0.1));
    .detail-container{
      display: flex;
      justify-content: space-between;
      margin: 0 auto;
      width: 1160px;
      height: 120px;
      .left{
        width: 640px;
        .title{
          display: block;
          text-overflow: ellipsis;
          white-space: nowrap;
          overflow: hidden;
          margin-right: 80px;
          color: #525659;
          font-weight: 700;
          height: 24px;
          line-height: 24px;
          padding: 8px 0;
          font-size: 18px;
        }
        .info{
          margin-top: 10px;
          font-size: 0;
          .category{
            display: inline-block;
            font-size: 12px;
            .type{
              color: #99a2aa;
              &:hover{
                color: #00a1d6
              }
            }

          }
          .date,._id{
            margin-left: 20px;
            font-size: 12px;
            color: #99a2aa;
          }
        }
        .play-info{
          .play-item{
            display: inline-block;
            border-right: 1px solid rgba(7,17,27,0.1);
            padding: 0 40px;
            margin-top: 20px;
            font-size: 0;
            &:last-child{
              border-right: 0;
            }
            .icon{
              margin-right: 10px;
              line-height: 20px;
              font-size: 20px;
              color: #99a2aa;
            }
            .num{
              vertical-align: bottom;
              line-height: 20px;
              font-size: 12px;
              color: #222;
            }
          }
        }
      }
      .right{
        position: relative;
        img{
          border-radius: 50%;
          margin-right: 10px;
        }
        .user-info{
          display: inline-block;
          vertical-align: top;
          width: 225px;
          .name{
            margin-bottom: 5px;
            font-size: 14px;
            color: rgb(0, 161, 214);
          }
          .desc{
            display: block;
            word-break: normal;
            white-space: pre-wrap;
            word-wrap: break-word;
            margin-bottom: 5px;
            width: 225px;
            overflow: hidden;
            max-height: 40px;
            line-height: 18px;
            font-size: 12px;
            color: #333;
          }
          .welcome{
            display: flex;
            justify-content: space-between;
            font-size: 12px;
            color: #99a2aa;
          }
          .action{
            display: flex;
            justify-content: space-between;
            margin-top: 10px;
            .care{
              cursor: pointer;
              padding: 6px 45px;
              border: 1px solid #00a1d6;
              border-radius: 4px;
              font-size: 12px;
              color: #fff;
              background: #00a1d6;
              transition: all 0.2s;
              &:hover{
                opacity: 0.8;
              }
              .icon{
                margin-right: 10px;
              }
            }
            .battery{
              cursor: pointer;
              padding: 6px 20px;
              border: 1px solid #f25d8e;
              border-radius: 4px;
              font-size: 12px;
              color: #f25d8e;
              transition: all 0.2s;
              &:hover{
                color: #fff;
                background: #f25d8e;
              }
            }
          }
        }

      }
    }
  }
  .detail-content{
    width: 100%;
    min-height: 300px;
    background: #e5e9ef;
    .detail-container{
      padding: 20px 0;
      margin:0 auto;
      width: 1160px;
      .lesson-box{
        width: 100%;
        height: 80px;
        margin-bottom: 20px;
        a{
          color: #222;
        }

        .lesson-item{
          float: left;
          margin-right: 20px;
          border-radius: 10px;
          max-width: 120px;
          height: 30px;
          padding: 5px;
          background-color: white;
          text-align: center;
          line-height: 30px;overflow: hidden;text-overflow: ellipsis;white-space: nowrap;
          width: 20em;
        }
        .active{
          background-color: rgba(27, 36, 51, 0.59);
          color: white;
        }
      }
      .video{
        width: 100%;
      }
      .arc-toobar{
        box-sizing: border-box;
        padding: 0 4px;
        margin-top: 20px;
        width: 100%;
        height: 80px;
        background: #fff;
        .item{
          display: flex;
          justify-content: center;
          float: left;
          box-sizing: border-box;
          cursor: pointer;
          padding-top: 10px;
          margin-left: 20px;
          width: 150px;
          height: 100%;
          font-size: 0;
          .icon{
            line-height: 55px;
            font-size: 50px;
          }
          .content{
            display: inline-block;
            font-size: 12px;
            margin-left: 30px;
            h2{
              margin-top: 10px;
              margin-bottom: 8px;
              font-weight: 700;
              font-size: 18px;
            }
          }
          &:hover{
            border-right: 1px solid rgba(7,17,27,0.2);
            border-left: 1px solid rgba(7,17,27,0.2);
          }
          &:first-of-type{
            border-left: 0;
          }
        }
      }
    }
  }
  .detail-bottom{
    margin: 0 auto;
    padding-top: 20px;
    width: 1160px;
    min-height: 300px;
    @include border-top-1px(rgba(7,17,27,0.3));
    .left{
      float: left;
      width: 890px;
      .desc{
        box-sizing: border-box;
        padding-top: 10px;
        padding-bottom: 20px;
        line-height: 20px;
        font-size: 14px;
        color: rgb(7,17,27);
        width: 100%;
        @include border-bottom-1px(rgba(7,17,27,0.3));
      }
      .commit-header{
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        padding: 0 0 0 0;
        @include border-bottom-1px(rgba(7,17,27,0.3));
        .commit-desc{
          font-size: 0;
          span{
            display: inline-block;
            line-height: 55px;
            height: 55px;
            margin-right: 20px;
            font-size: 14px;
          }
          .active{
            border-bottom: 1px solid red;
          }
        }
        .commit-fengye{
          ul{
            li{
              float: left;
              margin-right: 5px;
              line-height: 55px;
            }
          }
        }
      }
      .commit-left{
        padding-top: 20px;
        .comment-item{
          width: 100%;
          display: flex;
          justify-content: space-between;
          margin-bottom: 20px;
          .thumb{
            padding: 10px;
            img{
              border-radius: 50%;
            }
          }

        }
        .commit-text{
          width: 90%;
          height: 70px;
          margin-bottom: 20px;
          @include border-bottom-1px(rgba(7,17,27,0.4));
          textarea{
            resize: none;
            padding: 5px 10px;
            line-height: normal;
            font-size: 12px;
            display: inline-block;
            box-sizing: border-box;
            background-color: #f4f5f7;
            border: 1px solid #e5e9ef;
            overflow: auto;
            border-radius: 4px;
            color: #555;
            width: 100%;
            height: 100%;
            &:focus{
              outline:#00b2ff solid thin;
            }
            &.outline{
              outline:#00b2ff solid thin;
            }
          }
        }

        .put-text{
          width: 100px;
          height: 70px;
          margin-left: 25px;
          cursor: pointer;
          color: white;
          background-color: rgba(0, 178, 255, 0.59);
          &:hover{
            background-color: rgba(0, 178, 255, 0.8);
          }
          p{
            font-size: 16px;
            font-weight: bold;
            text-align: center;
            line-height: 70px;
          }

        }
      }

    }

    .right{
      float: right;
      width: 250px;
      min-height: 300px;
      background-color: red;
    }
  }
}

.my-player-dimensions{
  height: 652px;
}